package com.hst.web.base.ui;

import java.sql.Timestamp;

import com.hst.core.meta.MetaData;
import com.hst.core.meta.annotation.EField;
import com.hst.core.meta.annotation.EInfo;
import com.hst.core.meta.annotation.FieldQuery;
import com.hst.web.base.entity.TCompanyEmployee;
import com.hst.web.base.proxy.CompanyEmployeeProxy;

@EInfo(name = "employee-detail", title = "人员信息")
public class EmployeeDetail extends MetaData {

	@EField(name = "employeeCode", title = "员工编号", list = false, form = 0)
	private String employeeCode;

	@EField(name = "fullname", title = "姓名", query = FieldQuery.LIKE, validate = "required|max:100")
	private String fullname;

	@EField(name = "papersType", title = "证件类型", editor = "select.papersType", viewer = "dict.papersType", validate = "required", query = FieldQuery.EQ)
	private String papersType;

	@EField(name = "papersNumber", title = "证件号码", viewer = "papersnumber", validate = "required|max:32", query = FieldQuery.LIKE)
	private String papersNumber;

	@EField(name = "issueNo", title = "通行证卡号", form = 3, validate = "max:20")
	private String issueNo;
	
	@EField(name = "beginExpirydate", list = false, title = "有效期开始时间", form = 0)
	private Timestamp beginExpirydate;

	@EField(name = "endExpirydate", title = "通行证有效期", form = 0, viewer="date")
	private Timestamp endExpirydate;
	
	@EField(name = "passOld", title = "旧版人员证号", form = 1, validate = "max:20")
	private String passOld;
	
	@EField(name = "oldpassStatus", list = false, title = "旧版人员证状态", form = 0)
	private String oldpassStatus;

	@EField(name = "telNumber", list = false, title = "手机号", form = 1)
	private String telNumber;

	@EField(name = "sex", list = false, title = "性别", editor = "select.sex", form = 1)
	private String sex;

	@EField(name = "nationality", list = false, title = "国籍", form = 1)
	private String nationality;

	@EField(name = "nativePlace", list = false, title = "籍贯", form = 1)
	private String nativePlace;

	@EField(name = "redFlag", list = false, title = "红名单", form = 0)
	private String redFlag;

	@EField(name = "address", list = false, title = "居住地址", form = 1)
	private String address;
	
	@EField(name = "dynamicFace", list = false, title = "人脸照片", editor = "uploadImg2.employeeface", form = 1)
	private String dynamicFace;
	
	@EField(name = "identifyFlag", list = false, title = "实名认证", form = 0, viewer = "dict.identifyflag", editor = "select.identifyflag", query = FieldQuery.EQ)
	private String identifyFlag;

	@EField(name = "pushflag", list = false, title = "下发状态", form = 0, editor = "select.pushflag", viewer = "dict.pushflag")
	private String pushflag;

	@EField(name = "checkStatus", title = "通行证状态", form = 3, editor = "select.checkstatus", viewer = "dict.checkstatus", query = FieldQuery.EQ)
	private String checkStatus;

	@EField(name = "reviewStatus", title = "复核状态", form = 0, editor = "select.reviewstatus", viewer = "dict.reviewstatus", query = FieldQuery.EQ)
	private String reviewStatus;
	
	@EField(name = "appUserName", title = "APP用户名", form = 0, query = FieldQuery.LIKE)
	private String appUserName;

	@EField(title = "关注人员", name = "concernType", editor = "select.concernType", viewer = "dict.concernType", role = "9", list = false, form = 0)
	private String concernType;

	public String getEmployeeCode() {
		return employeeCode;
	}

	public void setEmployeeCode(String employeeCode) {
		this.employeeCode = employeeCode;
	}

	public String getFullname() {
		return fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public String getPapersType() {
		return papersType;
	}

	public void setPapersType(String papersType) {
		this.papersType = papersType;
	}

	public String getPapersNumber() {
		return papersNumber;
	}

	public void setPapersNumber(String papersNumber) {
		this.papersNumber = papersNumber;
	}

	public String getIssueNo() {
		return issueNo;
	}

	public void setIssueNo(String issueNo) {
		this.issueNo = issueNo;
	}

	public Timestamp getBeginExpirydate() {
		return beginExpirydate;
	}

	public void setBeginExpirydate(Timestamp beginExpirydate) {
		this.beginExpirydate = beginExpirydate;
	}

	public Timestamp getEndExpirydate() {
		return endExpirydate;
	}

	public void setEndExpirydate(Timestamp endExpirydate) {
		this.endExpirydate = endExpirydate;
	}

	public String getPassOld() {
		return passOld;
	}

	public void setPassOld(String passOld) {
		this.passOld = passOld;
	}

	public String getOldpassStatus() {
		return oldpassStatus;
	}

	public void setOldpassStatus(String oldpassStatus) {
		this.oldpassStatus = oldpassStatus;
	}

	public String getTelNumber() {
		return telNumber;
	}

	public void setTelNumber(String telNumber) {
		this.telNumber = telNumber;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getNationality() {
		return nationality;
	}

	public void setNationality(String nationality) {
		this.nationality = nationality;
	}

	public String getNativePlace() {
		return nativePlace;
	}

	public void setNativePlace(String nativePlace) {
		this.nativePlace = nativePlace;
	}

	public String getRedFlag() {
		return redFlag;
	}

	public void setRedFlag(String redFlag) {
		this.redFlag = redFlag;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getDynamicFace() {
		return dynamicFace;
	}

	public void setDynamicFace(String dynamicFace) {
		this.dynamicFace = dynamicFace;
	}

	public String getIdentifyFlag() {
		return identifyFlag;
	}

	public void setIdentifyFlag(String identifyFlag) {
		this.identifyFlag = identifyFlag;
	}

	public String getPushflag() {
		return pushflag;
	}

	public void setPushflag(String pushflag) {
		this.pushflag = pushflag;
	}

	public String getCheckStatus() {
		return checkStatus;
	}

	public void setCheckStatus(String checkStatus) {
		this.checkStatus = checkStatus;
	}

	public String getReviewStatus() {
		return reviewStatus;
	}

	public void setReviewStatus(String reviewStatus) {
		this.reviewStatus = reviewStatus;
	}

	public String getAppUserName() {
		return appUserName;
	}

	public void setAppUserName(String appUserName) {
		this.appUserName = appUserName;
	}

	public String getConcernType() {
		return concernType;
	}

	public void setConcernType(String concernType) {
		this.concernType = concernType;
	}




}
